package oo7;

public class USBDisk extends Storage implements USB {
	private String brand = "金士顿";
	private int cap = 8;// 容量，单位是G

	@Override
	public String toString() {
		return "这个盘的品牌是" + brand + ",容量是" + cap + "G";
	}

	@Override
	public void plugin() {
		System.out.println("U盘" + brand + "接上了usb口，开始工作了");
	}

	public void copyFile() {
		System.out.println("可以拷贝文件了。。。");
	}

	@Override
	public void unplug() {
		System.out.println("U盘" + brand + "从usb口移除，停止工作了");
	}

}
